
<script type="text/javascript">
   //作为一个事件的函数来被调用
        function onc () {
        var dd = document.getElementById("comment").scrollIntoView(true);     //这个意思其实就是将这个元素到顶部来浏览器窗口的顶部来显示
    }
</script>





<div class="mod book-score">
<a name="comment" class="anchor" id="comment" >&nbsp;</a>
<div class="hd"></div>
<div class="score-area-title">
<span class="title-txt">图书评论</span>
</div>
<div class="bd">
<div class="book-score-content clearfix">
<div class="over-score ">
<div class="over-score-inner">

</div>
</div>
<div class="site-score">
<div class="site-score-wp">
<div class="site-score-hack">
<div class="site-score-content">
<div class="yuedu-score site-score-item no-mb">

</div><div class="yuedu-score site-score-item no-mb">

</div><div class="yuedu-score site-score-item no-mb">

</div><div class="yuedu-score site-score-item no-mb">

</div></div>
</div>
</div></div>
</div>
</div>
</div>


<div class="mod merge-comment mb20">

<div class="hd">


<div class="yd-search-page-up">

</div>


<ul class="comment-tab-control clearfix">
<if condition="$count gt 0">
<span class="comment-title-text">共有<{$count}>条评论</span>
</if>
</ul>
</div>
<div class="bd">
<ul class="comment-tab-content">
<li class="comment-tab-content-item current merge-comment-content">
<div class="comment-content c_comment-content">
    
    
        <if condition="$count eq 0">    
        <div class="no-comment">暂无评论</div>   
        <else />

        <ul class="comment-list">

                <!-- 遍历评论 -->
                <foreach name="list" item="vo">

                <li class="comment-list-item ">
                    <!-- 用户头像 -->
                    <div class="comment-pic-wrap">
                        <div class="img-down-wp">
                            <img class="img-down" src="http://static.wenku.bdimg.com/static/ydcore/widget/book_index/book_comment_merge/images/head2_104ea0a.png">
                            <span class="author-circle"></span>     
                        </div>
                    </div>

                    <!-- 标题 -->
                        <h4 class="comment-title"><{$vo.title}></h4>
                    
                    <!-- 用户信息 -->
                    <div class="comment-info clearfix ">
                        <span class="comment-author" title="LL">
                       
                            <{$vo.name}>
  
                        </span>
                        
                        <span class="comment-date">2015-05-17</span>
                    </div>

                    <!-- 评论内容 -->
                    <p class="comment-short">
                        <{$vo.content}>
                        
                    </p>
  
                </li>   
                </foreach>
                <!-- 遍历结束 -->
            
        </ul>
        </if>
    
</div>
<div class="comment-pager c_comment-pager">
<div class="yui-pager pager-center">
<div class="pager">
<div class="pager-inner">


</div>
</div>
</div>
</div>
</li>
</ul>
</div>





<form action="<{:U('Directory/add')}>" method="post">
<div class="mod comment mb20">
<div class="bd">
<div class="go-to-buy"></div>
<div class="uncomment">
<div class="user-icon-wp">
<div class="user-icon">
<div class="user-icon-mask"></div>
<img src="__PUBLIC__/Home/images/user.png" alt="" class="user-icon-pic">
<span class="author-circle"></span>
</div>
</div>
<div class="comment-sub comment-sub-disabled">
<div class="clearfix comment-sub-wp">
<span>标题</span>
<input type="text" class="comment-title-sub not-comment-title" placeholder="选填" maxlength="30" name="title"/>
</div>
<div class="clearfix comment-sub-wp">
<span>正文</span>
<textarea class="comment-content-sub not-comment-content" name="content"></textarea>
</div>
</div>
<div class="comment-sub-btn-wp">
<a href="###" class="comment-sub-btn j_comment-sub-btn not-comment-bt">
<b class="btc">
<input type="submit" style="background:#63d465;color:white;border:1px solid #63d465" value="发表评论">
</b>
</a>
<a href="###" class="not-login-tips">登录后可评论</a><span class="comment-sub-error c_comment-sub-error"></span>
</div>
</div>
</div>
</div>
</div>
</div>

</form>

